package com.springboot.demo.service;


import com.cx.item.common.service.BaseService;
import com.springboot.demo.model.example.BannerExample;
import com.springboot.demo.model.model.Banner;
import com.springboot.demo.model.par.BannerPar;
import com.springboot.demo.model.vo.BannerVo;

import java.util.List;

public interface BannerBGService extends BaseService<Banner, BannerExample> {

    int create(BannerPar bannerPar);

    List<BannerVo> queryList();

    int update(BannerPar bannerPar);

    int delById(Integer bannerId);

    BannerVo queryById(Integer id);
}